EventEspresso\modules\ticket_selector\ProcessTicketSelector A

Total Complexity 56
Dependencies 19
Dependents 0
Total lines 460
Lines of code 285
Logical lines of code 103
Comment lines 124
Methods 11
Properties 6

Methods 11

Method Rating Maintainability Complexity Lines of code
addTicketsToCart()
A
46 11 40
processTicketSelections()
A
46 9 40
processSuccessfulCart()
A
49 7 32
__construct()
S
56 6 18
ticketMaxQtyAlreadyReached()
S
52 5 26
processTicketSelectorNonce()
S
53 4 27
addTicketToCart()
S
54 4 24
ticketAvailableForPurchase()
S
58 3 18
cancelTicketSelections()
S
58 3 17
maxAttendeesViolation()
S
53 2 25
isValidTicket()
S
58 2 18